package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.Students5Mapper;
import com.ruoyi.system.domain.Students5;
import com.ruoyi.system.service.IStudents5Service;

/**
 * 学生表5Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-02-14
 */
@Service
public class Students5ServiceImpl implements IStudents5Service 
{
    @Autowired
    private Students5Mapper students5Mapper;

    /**
     * 查询学生表5
     * 
     * @param studentId 学生表5主键
     * @return 学生表5
     */
    @Override
    public Students5 selectStudents5ByStudentId(Long studentId)
    {
        return students5Mapper.selectStudents5ByStudentId(studentId);
    }

    /**
     * 查询学生表5列表
     * 
     * @param students5 学生表5
     * @return 学生表5
     */
    @Override
    public List<Students5> selectStudents5List(Students5 students5)
    {
        return students5Mapper.selectStudents5List(students5);
    }

    /**
     * 新增学生表5
     * 
     * @param students5 学生表5
     * @return 结果
     */
    @Override
    public int insertStudents5(Students5 students5)
    {
        return students5Mapper.insertStudents5(students5);
    }

    /**
     * 修改学生表5
     * 
     * @param students5 学生表5
     * @return 结果
     */
    @Override
    public int updateStudents5(Students5 students5)
    {
        return students5Mapper.updateStudents5(students5);
    }

    /**
     * 批量删除学生表5
     * 
     * @param studentIds 需要删除的学生表5主键
     * @return 结果
     */
    @Override
    public int deleteStudents5ByStudentIds(Long[] studentIds)
    {
        return students5Mapper.deleteStudents5ByStudentIds(studentIds);
    }

    /**
     * 删除学生表5信息
     * 
     * @param studentId 学生表5主键
     * @return 结果
     */
    @Override
    public int deleteStudents5ByStudentId(Long studentId)
    {
        return students5Mapper.deleteStudents5ByStudentId(studentId);
    }
}
